package com.lovo.dimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单明细表
 * </p>
 *
 * @author MaoYue
 * @since 2022年11月15日
 */
@Getter
@Setter
@TableName("ssc_order_detail")
@ApiModel(value = "SscOrderDetail对象", description = "订单明细表")
public class SscOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单明细id")
    @TableId(value = "pk_order_d_id", type = IdType.ASSIGN_ID)
    private Long orderDId;

    @ApiModelProperty("订单id")
    @TableField("fk_order_id")
    private Long orderId;

    @ApiModelProperty("商品id")
    @TableField("fk_product_id")
    private Long productId;

    @ApiModelProperty("商品数量")
    @TableField("order_d_amount")
    private Integer orderDAmount;

    @ApiModelProperty("明细金额")
    @TableField("order_d_money")
    private Integer orderDMoney;


}
